import axios from 'src/util/axios'
// 新增缴费单位
const companyCreat = params => axios('post', '/social-company/create', params)

// 编辑缴费单位
const companyUpdate = params => axios('post', '/social-company/update', params)

// 缴费单位详情
const companyDetail = params => axios('get', '/social-company/get', params)

// 缴费单位列表
const companyList = params => axios('post', '/social-company/find', params)

// 导入缴费单位
const companyImport = params => axios('post', '/social-company/import', params)

// 导出缴费单位
const companyExport = params => axios('post', '/social-company/export', params)

// 删除缴费单位
const companyDelete = params => axios('post', '/social-company/del', params)

// 缴费记录列表
const socialOrderList = params => axios('post', '/social_order/get-list', params)

export {
  companyCreat,
  companyUpdate,
  companyDetail,
  companyList,
  companyImport,
  companyExport,
  companyDelete,
  socialOrderList
}
